package cn.wolfcode.p2p.business.mapper;

import cn.wolfcode.p2p.business.domain.PaymentScheduleDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaymentScheduleDetailMapper {
    int insert(PaymentScheduleDetail record);

    int updateByPrimaryKey(PaymentScheduleDetail record);

    PaymentScheduleDetail selectByPaymentScheduleId(Long id);

    /**
     *批量修改收款计划的状态
     * @param bidIds
     * @param transferState
     */
    void batchUpdateTransferState(@Param("bidIds") Long[] bidIds, @Param("transferState") int transferState);
}